← Back to issue list

error messaging for invalid macaroon could be improved

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1834469
Type
issue
State
open
Author
~jdstrand
Labels
Created
2019-06-27 11:35:19.109981+00:00
Updated
2023-08-10 13:26:55.493275+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Today I went to use 'snapcraft list-revisions' and was greeted with: $ snapcraft list-revisions snappy-debug Error fetching account information from store: The request is missing an Authorization header field containing a valid macaroon [2] I tried other snaps I own and they were all the same. Googling didn't help me and the error message made me think something was wrong with the store. It then occurred to me that perhaps the macaroon expired, so I did 'snapcraft login' and everything started working again. Assuming the issue was actually that the macaroon expired and I did the right thing instead of working around the problem, I suspect the error message could be improved to guide people to snapcraft login.

Evaluation history

No evaluation history available.